function isPoneAvailable (str) {
  let myreg = /^[1][3,4,5,7,8][0-9]{9}$/;
  if (!myreg.test(str)) {
    return false;
  } else {
    return true;
  }
}

let mailReg = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/;

module.exports = {
  isPoneAvailable, mailReg
};
